Description:
DBZ detects situations where an integer value is divided by zero.
This will result in an ArithmeticException being thrown at runtime.
Incorrect:
void eval(int value, int scale) {
if (scale != 0) {
...
} else {
int scaledValue = value / scale;
...
}
}